import apis from '../../http/apis/apis.js'

export default {
    //避免命名冲突
    namespaced: true,
    state: {


    },

    mutations: {

    },
    actions: {

        async isAccess(context, account) {
            // console.log(account)
            const { data } = await apis.register.isHave(account);
            // console.log('注册信息', data)
            return data

        },
        async register(context, account) {
            const { data } = await apis.register.register(account);
            return data
        },

    }
}